﻿using UnityEngine;
using System.Collections;
namespace Pathfinding  
{
    public class MapWayManager 
    {
        WayPoint[] WayPoints;
        
    }

    public class WayPoint
    {
        public long ID;
        public Vector2 Position;
        public WayLink[] Links;
    }

    public class WayLink 
    {
       public long linkID;
       public long StartPointID;
       public long EndPointID;
        public enum WayType 
        {
           Src2Dst,
           Dst2Src,
           TwoWay
        }
       public WayType LinkWayType = WayType.TwoWay;
         
    }
}